package com.jobsleaf.tree.domain;

import java.util.ArrayList;
import java.util.List;

public class Subnetwork 
{
	private List mUtranList;
	private List mGsmList;
	private Object mParent;
	private String  mName;

	public Subnetwork()
	{
		mUtranList = new ArrayList();
		mGsmList = new ArrayList();
	}

	public void addUtran(Utran utran)
	{
		mUtranList.add(utran);
	}

	public void addGsm(Gsm gsm)
	{
		mGsmList.add(gsm);
	}

	public List getChildren()
	{
		List<Object> both = new ArrayList<Object>();
		both.addAll(mGsmList);
		both.addAll(mUtranList);
		return both;
	}

	public String getName() {
		return mName;
	}

	public void setName(String name) {
		this.mName = name;
	}

}
